import 'tlc_lock_platform_interface.dart';

class TlcLock {
  static Future<String?> getPlatformVersion() {
    return TlcLockPlatform.instance.getPlatformVersion();
  }

  Future<String?> test() {
    return TlcLockPlatform.instance.test();
  }

  Stream<ScanResult> scan(List<String> services,
      {bool allowDuplicationKeys = false}) {
    return TlcLockPlatform.instance
        .scan(services, allowDuplicationKeys: allowDuplicationKeys);
  }

  Future<void> connect(String identifier) {
    return TlcLockPlatform.instance.connect(identifier);
  }
}
